<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>当当购物车</title>
		<link rel="stylesheet" href="./css/cart.css" />
	</head>
	<body>
		<div class="container">
			<div class="logo">
				<img src="./image/dd_logo.jpg" alt="logo" />
				<input type="button" value="添加商品">
			</div>			
			<div class="cart-list">
				<table>
					<!-- 动态渲染内容 -->
				</table>
				<div class="total-price">商品总价:<span>￥0</span></div>
			</div>
			<div class="add-product hidden">
				<form>
					<p>添加商品</p>
					<input type="text" name="url" placeholder="请输入商品图片" /><br />
					<input type="text" name="name" placeholder="请输入商品名称" /><br />
					<input type="text" name="price" placeholder="请输入商品价格" /><br />
					<!-- <input type="text" name="num" placeholder="请输入商品数量" /><br /> -->
					<input type="submit" value="添加商品" />
					<input type="button" value="取消">
				</form>
			</div>
		</div>

		<script src="./js/cart.js"></script>
	</body>
</html>
